package me.hunche.app.web.page;

import me.hunche.app.job.RemindJob;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping(value = "/jobs")
public class JobsController {

//	@Autowired RemindJob remindJob;
	
	@RequestMapping(value="remind")
	 public @ResponseBody String remind(){
//		remindJob.run();
		return "success";
	}
	
	@RequestMapping(value="test")
	 public @ResponseBody String addUser(){
//		remindJob.run();
		return "success";
	}
}
